package com.gray.dao;

import com.gray.pojo.User;

public interface UserMapper {
	
    int deleteByPrimaryKey(Integer userId);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    
    User selectByUsernameAndPassword(String username,String password);
    
    User selectByUsername(String username);
    
}